@import '~antd/dist/antd.css';

/* 公共样式 */

@import './common.css';
@import './flex.css';

/* @import "~antd/dist/antd.less";   // 引入官方提供的 less 样式入口文件
@import "your-theme-file.less";   // 用于覆盖上面定义的变量 */


/* 公共样式 */

.mL20 {
    margin-left: 20px;
}

.mL30 {
    margin-left: 30px;
}

.mL40 {
    margin-left: 40px;
}

.mR20 {
    margin-right: 20px;
}

.mT5 {
    margin-top: 5px;
}

.mT10 {
    margin-top: 10px;
}

.mT15 {
    margin-top: 15px;
}

.mT20 {
    margin-top: 20px;
}

.mT30 {
    margin-top: 30px;
}

.mB10 {
    margin-bottom: 10px;
}

.mB15 {
    margin-bottom: 15px;
}

.mB20 {
    margin-bottom: 20px;
}

.mB30 {
    margin-bottom: 30px;
}

.mB100 {
    margin-bottom: 100px;
}

.textC {
    text-align: center;
}

.textL {
    text-align: left;
}

.textR {
    text-align: right;
}

.floatL {
    float: left;
}

.active {
    color: red !important;
}

.spanHref {
    color: #1890ff;
    text-align: center;
    cursor: pointer;
}

.curP {
    cursor: pointer;
}

.App-logo {
    animation: App-logo-spin infinite 10s linear;
    height: 60px;
}

@keyframes App-logo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* 清除浮动 */

.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: ".";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}


/* 侧菜单头部背景logo */

.broadside-menu-dom .ant-layout-sider {
    background: #28313a !important;
}

.menu-fold {
    position: fixed;
    top: 12px;
    cursor: pointer;
}

.menu-fold.menu-fold-showtitle {
    left: 225px;
}

.menu-fold-hiddentitle {
    left: 65px;
}

.backLogo {
    width: 100%;
    line-height: 48px;
    height: 48px;
    background: rgba(28, 35, 41, 1);
    position: relative;
}

.backLogo span {
    font-size: 16px;
}

.backLogo .img2 {
    width: 30px;
    height: 30px;
}

.backLogo span,
.header-menu-logo span {
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
}

.header-menu-logo {
    height: 48px;
    line-height: 48px;
    display: inline-block;
}

.header-logo {
    width: 168px;
    height: 31px;
    line-height: 31px;
    /* background: rgba(255, 255, 255, .2); */
    margin: 16px 24px 16px 0;
    border-radius: 6px;
    display: inline-block;
}

.header-logo input {
    background: rgba(51, 51, 51, 1);
    border: 1px solid rgba(51, 51, 51, 1);
    outline: none;
    color: #fff;
}

.side-badge .ant-badge-count,
.side-badge .ant-badge-dot,
.side-badge .ant-badge .ant-scroll-number-custom-component {
    top: 10px;
    right: 10px;
}

.header-badge .ant-badge-count,
.header-badge .ant-badge-dot,
.header-badge .ant-badge .ant-scroll-number-custom-component {
    top: 5px;
    right: 5px;
}

.ant-input:focus,
.ant-select-selection:focus {
    box-shadow: 0 0 0 2px rgba(25, 153, 219, .2);
}

.ant-steps-item-process .ant-steps-item-icon,
.ant-steps-item-finish .ant-steps-item-icon,
.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon,
.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon,
.ant-select-focused .ant-select-selection,
.ant-select-selection:focus,
.ant-select-selection:active,
.ant-select-selection:hover,
.ant-input:hover,
.ant-input:focus,
.ant-input:active {
    border-color: #007AFF !important;
}

.sider-input {
    background: rgba(40, 49, 58, 1);
    padding: 10px 15px;
    height: 56px;
}

.sider-input .ant-input {
    border-radius: 4px;
    background: rgba(28, 35, 41, 1);
    border: 1px solid rgba(28, 35, 41, 1);
    outline: none;
    color: rgba(162, 174, 177, 1);
}

.sider-input .ant-input-affix-wrapper .ant-input:not(:first-child) {
    padding-left: 37px;
}


/* .sider-input .ant-input:hover {
    border-color: #007AFF !important;
} */


/* 头菜单 */

.header-menu-dom .ant-layout-header {
    height: 48px;
    padding: 0;
    line-height: 48px;
}

.header-menu-dom .ant-menu-horizontal {
    height: 48px;
    line-height: 48px !important;
}

.header-menu-dom .ant-menu {
    background: transparent !important;
    color: #fff;
}

.ant-layout-sider-collapsed .anticon {
    font-size: 16px;
}

.ant-layout-sider-collapsed .nav-text {
    display: none;
}


/* 数字输入框去掉上下箭头----type='number' className='input-number */
.input-number::-webkit-outer-spin-button,
.input-number::-webkit-inner-spin-button,
.input-number input::-webkit-outer-spin-button,
.input-number input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}

.input-number[type="number"],
.input-number input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.input-number {
    width: 100%;
}


/* 修改table的默认样式（行高） */

.ant-table-thead>tr>th,
.ant-table-tbody>tr>td {
    padding: 0 !important;
}

/* .ant-table-thead>tr,
.ant-table-tbody>tr {
    height: 45px !important;
} */

.margiRight16 {
    margin-right: 16px;
}


/* Icon附加样式 */

.alipayIcon {
    font-size: 22px;
    color: #1890ff;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 10px;
}

.common-record-span-icon {
    color: #1890ff;
}

.span {
    color: #1890ff;
    background-color: transparent;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.common-record-delete-span {
    color: #f04134;
}


/* 当表格数据为空时暂无数据不会顶下去（因为设置了表格高度的原因） */
.ant-table-placeholder {
    height: calc(100% - 45px);
    width: 100%;
    text-align: center;
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
}


/* DatePicker的宽度 */

.dpW100 .ant-calendar-picker,
.dpW100 .ant-form-item-children {
    width: 100%;
}

.labelR .ant-form-item-label {
    text-align: right !important;
}


/* 表单特殊必填 */
.formRequired:after {
    display: inline-block;
    margin-left: 6px;
    content: '*';
    font-family: SimSun;
    line-height: 1;
    font-size: 14px;
    color: #f5222d;
    position: absolute;
    top: 8px;
    left: 4px;
}

.has-error {
    border-color: #f5222d !important;
}


/* table行样式 */

.disabledTable {
    cursor: not-allowed;
    background: #f1f1f1;
}

.redTable {
    background-color: rgb(255, 51, 153, 0.3);
}


/* 鼠标移入头像样式 */

.personage-menu li {
    list-style: none;
}

.personage-menu .ant-dropdown-menu-item-group-list {
    padding: 0 20px;
}

.app-ant-layout .ant-layout {
    background: #F5F7FE;
}